package com.blockchainenergy.common;

import redis.clients.jedis.Jedis;

public class RedisTool {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("47.104.251.136", 6379);
        //密码
        jedis.auth("123456");
        jedis.ping();
        System.out.println("连接成功");
    }
}
